package org.administer.pojo;

import java.util.Objects;

public class CrmPlan {
    private Integer id;
    private Integer planid;
    private String timer;
    private String neirong;
    private String xiaoguo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlanid() {
        return planid;
    }

    public void setPlanid(Integer planid) {
        this.planid = planid;
    }

    public String getTimer() {
        return timer;
    }

    public void setTimer(String timer) {
        this.timer = timer;
    }

    public String getNeirong() {
        return neirong;
    }

    public void setNeirong(String neirong) {
        this.neirong = neirong;
    }

    public String getXiaoguo() {
        return xiaoguo;
    }

    public void setXiaoguo(String xiaoguo) {
        this.xiaoguo = xiaoguo;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CrmPlan that = (CrmPlan) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(planid, that.planid) &&
                Objects.equals(timer, that.timer) &&
                Objects.equals(neirong, that.neirong) &&
                Objects.equals(xiaoguo, that.xiaoguo);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, planid, timer, neirong, xiaoguo);
    }
}
